package com.briup.labs.mapper;

import com.briup.labs.pojo.SmartDeviceType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SmartDeviceTypeMapper {

    //查询所有
    List<SmartDeviceType> all();

    //分页查询
    List<SmartDeviceType> list(String key);

    //修改
    void update(SmartDeviceType smartDeviceType);

    //添加
    void add(SmartDeviceType smartDeviceType);

    //删除
    void delete(String id);

    //删除对应的device
    void deleteDevice(String id);
}
